﻿Jxstar.currentPage = function() {
	var config = {param:{},initpage:function(page, define){},eventcfg:{}};

	var cols = [
	{col:{header:'费用代码', width:133, sortable:true, editable:true, hcss:'color:#3039b4;',
		editor:new Ext.form.TextField({
			maxLength:20
		})}, field:{name:'project_cost__money_code',type:'string'}},
	{col:{header:'费用类型', width:130, sortable:true, editable:false,
		editor:new Ext.form.TextField({
			maxLength:10
		})}, field:{name:'project_cost__money_type',type:'string'}},
	{col:{header:'计划投资金额(万元)', width:165, sortable:true, align:'right',
		editable:true, hcss:'color:#3039b4;',
		editor:new Ext.form.NumberField({
			decimalPrecision:6, maxLength:12
		}),renderer:JxUtil.formatNumber(6)}, field:{name:'project_cost__plan_money',type:'float'}},
	{col:{header:'实际金额(万元)', width:208, sortable:true, align:'right',
		editable:true, hcss:'color:#3039b4;',
		editor:new Ext.form.NumberField({
			decimalPrecision:6, maxLength:12
		}),renderer:JxUtil.formatNumber(6)}, field:{name:'project_cost__practice_money',type:'float'}},
	{col:{header:'项目ID', width:100, sortable:true, hidden:true}, field:{name:'project_cost__project_id',type:'string'}},
	{col:{header:'主键', width:100, sortable:true, hidden:true}, field:{name:'project_cost__cost_id',type:'string'}}
	];
	
	config.param = {
		cols: cols,
		sorts: null,
		hasQuery: '1',
		isedit: '1',
		isshow: '1',
		funid: 'project_cost'
	};
	
	
		
	return new Jxstar.GridNode(config);
}